.App {
    position: relative;
    width: 100vw;
    height: 100vh;
  }
  
  .rectangle {
    width: 100px;
    height: 50px;
    position: absolute;
  }
  
  .svg-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none; /* 使 SVG 元素不可交互，防止遮挡拖动 */
    z-index: 1; /* 确保 SVG 在线条之上 */
  }
  